package com.campus.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取 Minio 配置类
 *
 * @author TaiZai
 * @data 2024/11/4 21:00
 */
@Component
@ConfigurationProperties(prefix = "campus.minio")
@Data
public class MinioProperties {

    private String endpoint;
    private String accessKey;
    private String secretKey;
}
